<h1>Listing baneos</h1>

<table>
  <tr>
    <th>Baneador</th>
    <th>Email baneador</th>
    <th>Baneado</th>
    <th>Email baneado</th>
    <th>Created at</th>
    <th>Update at</th>
    <th>Motivo</th>
  </tr>
  
<% for baneo in @baneos %>
  <tr>
    <td><%=h baneo.baneador_id %></td>
    <td><%=h baneo.email_baneador %></td>
    <td><%=h baneo.baneado_id %></td>
    <td><%=h baneo.email_baneado %></td>
    <td><%=h baneo.created_at %></td>
    <td><%=h baneo.update_at %></td>
    <td><%=h baneo.motivo %></td>
    <td><%= link_to 'Show', baneo_path(baneo) %></td>
    <td><%= link_to 'Edit', edit_baneo_path(baneo) %></td>
    <td><%= link_to 'Destroy', baneo_path(baneo), :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New baneo', new_baneo_path %>